package com.myaxuan.mapper.permissions;



import com.myaxuan.entity.permissions.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


@Mapper
@Repository
public interface UserMapper {
    int deleteByPrimaryKey(@Param("userId") String userId);

	List<User> findAll();

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    User login(@Param("account")String account);

}